#include "IntReader.h"

IntReader::IntReader(char* source) {
        this->toRead = source;
        this->actualPos = 0;
}

bool IntReader::hasLeft(){
        return false;
}

void IntReader::close(){

}

int IntReader::getInt(){
        return ((int)this->toRead[this->actualPos]);
}

IntReader::~IntReader() {

}
